package cn.dengta.webapp.user.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class ActivityEventDTO implements Serializable {

	/** 业务字段 */
	private String field;
	/** 业务时间 */
	private Date addTime;
	private Long userId;
	private Long toUserId;
	private Long assocId;
	/** 礼物id */
	private Long giftId;
	private BigDecimal num;

	public ActivityEventDTO init(String field, Date addTime, Long userId, Long toUserId, Long assocId, BigDecimal num) {
		this.field = field;
		this.addTime = addTime;
		this.userId = userId;
		this.toUserId = toUserId;
		this.assocId = assocId;
		this.num = num;
		return this;
	}

}
